Elementor\Modules\Ai\Module D

Total Complexity 140
Dependencies 9
Dependents 1
Total lines 988
Lines of code 756
Logical lines of code 344
Comment lines 3
Methods 35
Properties 0

Methods 35

Method Rating Maintainability Complexity Lines of code
ajax_ai_generate_layout()
A
41 9 59
enqueue_main_script()
A
43 7 53
ajax_ai_get_image_to_image_mask()
A
48 8 34
__construct()
A
40 5 66
ajax_ai_get_image_to_image()
S
50 7 30
prepare_generate_layout_context()
S
42 4 58
ajax_ai_get_custom_css()
S
51 6 26
ajax_ai_get_image_to_image_replace_background()
S
51 6 26
ajax_ai_get_image_to_image_upscale()
S
51 6 26
ajax_ai_upload_image()
S
54 6 20
ajax_ai_get_image_to_image_outpainting()
S
52 5 26
ajax_ai_get_edit_text()
S
53 5 23
ajax_ai_get_image_to_image_remove_background()
S
53 5 22
ajax_ai_get_custom_code()
S
54 5 22
ajax_ai_delete_history_item()
S
58 5 15
ajax_ai_toggle_favorite_history_item()
S
58 5 15
ajax_ai_get_layout_prompt_enhancer()
S
53 4 23
ajax_ai_get_text_to_image()
S
55 4 20
ajax_ai_get_completion_text()
S
55 4 20
ajax_ai_get_image_prompt_enhancer()
S
55 4 19
ajax_ai_get_history()
S
55 4 18
verify_permissions()
S
65 4 9
upload_image()
S
58 3 15
remove_temporary_containers()
S
62 3 11
ajax_ai_set_status_feedback()
S
63 3 11
ajax_ai_get_user_information()
S
56 2 19
enqueue_layout_script()
S
57 1 20
get_request_context()
S
71 2 6
ajax_ai_get_remote_config()
S
69 2 7
register_layout_experiment()
S
62 1 12
is_layout_active()
S
80 1 3
get_ai_connect_url()
S
65 1 9
get_ai_app()
S
80 1 3
ajax_ai_set_get_started()
S
69 1 7
get_name()
S
82 1 3